package pkg;

import java.util.ArrayList;

public abstract class Size{
	String size_label;
	double priceModifier;
	double volume_oz;
	
	public Size(String size_label, double volume_oz, double priceModifier){
		this.size_label = size_label;
		this.volume_oz = volume_oz;
		this.priceModifier = priceModifier;
	}
	
	public String getLabel(){
		return size_label;
	}
	
	public double getPriceModifier(){
		return priceModifier;
	}
	
	public double getVolume(){
		return volume_oz;
	}
}

class Size_Small extends Size{
	public Size_Small(double volume_oz ,double priceModifier)	{
		super("Small", volume_oz, priceModifier);
	}
}

class Size_Medium extends Size{
	public Size_Medium(double volume_oz ,double priceModifier)	{
		super("Medium", volume_oz, priceModifier);
	}
}

class Size_Large extends Size{
	public Size_Large(double volume_oz ,double priceModifier)	{
		super("Large", volume_oz, priceModifier);
	}
}